using System;
using System.Runtime.Serialization;

using SIMA.Core.Attributes;
using SIMA.Core.Data.Validators;
using SIMA.Core.Data.Entity;

namespace SIMA.Entities
{
	[Table("T_C_DetalleOrdenDeTrabajo")]
	[Serializable]
    public class T_C_DetalleOrdenDeTrabajo : XmlEntity
	{
		[DataMember]
		[PrimaryKey("Id_DetalleOrdendeTrabajo")]
		[Numeric]
		public int Id_DetalleOrdendeTrabajo{get; set;}
		[DataMember]
		[DataField("Id_OrdendeTrabajo")]
		[Numeric]
		public int Id_OrdendeTrabajo{get; set;}
		[DataMember]
		[DataField("Costo")]
		public float Costo{get; set;}
		[DataMember]
		[DataField("Porcentaje")]
		public float Porcentaje{get; set;}
		[DataMember]
		[DataField("Motivo")]
		public string Motivo{get; set;}
		[DataMember]
		[DataField("FechaRegistro")]
		public DateTime FechaRegistro{get; set;}
		[DataMember]
		[DataField("Id_Estado")]
		[Numeric]
		public int Id_Estado{get; set;}
		[DataMember]
		[DataField("Cantidad")]
		[Numeric]
		public int Cantidad{get; set;}
		[DataMember]
		[DataField("Id_OrdenTrabajo")]
		[Numeric]
		public int Id_OrdenTrabajo{get; set;}
		[DataMember]
		[DataField("Id_Solicitud")]
		[Numeric]
		public int Id_Solicitud{get; set;}
	}
}
